<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<%@ taglib prefix="his_fns" uri="/WEB-INF/tlds/his_fns.tld" %>
<meta name="decorator" content="default"/>
<script src="${ctxStatic}/vendor/jquery/dist/jquery.js"></script>
<script>
    var ctx = '${ctx}';
</script>
<div class="col-lg-12" >
    <div class="col-lg-12 panel" id="patientBasicInfo">
        <form:form id="inputForm" data-parsley-validate="" modelAttribute="patVisit"   method="post" class="form-horizontal">
            <div class="form-group">
                <label class="col-sm-2 control-label">床号：</label>
                <div class="col-sm-4">
                    <form:input path="bedRec.bedNo" htmlEscape="false" class="form-control"  maxlength="21" readonly="true" />
                </div>
                <label class="col-sm-2 control-label">住院号：</label>
                <div class="col-sm-4">
                    <form:input path="visitNo" htmlEscape="false" class="form-control"  maxlength="21" readonly="true" />
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label">姓名：</label>
                <div class="col-sm-4">
                    <form:input path="patVisitIndex.name"  htmlEscape="false" class="form-control"  maxlength="200" readonly="true"/>
                </div>
                <label class="col-sm-2 control-label">性别：</label>
                <div class="col-sm-4">
                    <form:select path="patVisitIndex.sex" id="sex" class="form-control" data-parsley-required="true"  disabled="true">
                        <form:options items="${fns:getDictList('SEX_DICT')}" itemLabel="label" itemValue="value"  htmlEscape="false"/>
                    </form:select>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">费别：</label>
                <div class="col-sm-4">
                    <form:select path="patVisitIndex.chargeType" id="chargeType" class="form-control" data-parsley-required="true"  disabled="true">
                        <form:options items="${fns:getDictList('CHARGE_TYPE_DICT')}" itemLabel="label" itemValue="value"  htmlEscape="false"/>
                    </form:select>
                </div>
                <label class="col-sm-2 control-label">预交金：</label>
                <div class="col-sm-4">
                    <form:input path="prepayments" htmlEscape="false" class="form-control"  maxlength="21" readonly="true"/>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">入科时间：</label>
                <div class="col-sm-4">
                        <input name="enterDeptDate" value="<fmt:formatDate value="${patVisit.enterDeptDate}" pattern="yyyy-MM-dd HH:mm:ss"/>" htmlEscape="false" class="form-control Wdate"  maxlength="21" disabled="true" />
                </div>
                <label class="col-sm-2 control-label">所在科室： </label>
                <div class="col-sm-4">
                    <input type="text" class="form-control" disabled="true" value="${fns:getDeptName(patVisit.deptStayed,'')}">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">入病区时间：</label>
                <div class="col-sm-4">
                    <input name="enterWardDate" value="<fmt:formatDate value="${patVisit.enterWardDate}" pattern="yyyy-MM-dd HH:mm:ss"/>" htmlEscape="false" class="form-control Wdate"  maxlength="21" disabled="true" />
                </div>
                <label class="col-sm-2 control-label">所在病区：</label>
                <div class="col-sm-4">
                    <input type="text" class="form-control" disabled="true" value="${fns:getDeptName(patVisit.wardCode,'')}">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">医生：</label>
                <div class="col-sm-4">
                    <form:input path="doctorInCharge" htmlEscape="false" class="form-control"  maxlength="21"   disabled="true"/>
                </div>
                <label class="col-sm-2 control-label">诊断：</label>
                <div class="col-sm-4">
                    <form:input path="diagnosis" htmlEscape="false" class="form-control"  maxlength="21"  disabled="true"/>
                </div>
            </div>
        </form:form>
    </div>
</div>

